Learn R Programming

poppr (version 2.1.1)

[,bootgen,ANY,ANY,ANY-method: Methods used for the bootgen object.

Description

This is not designed for user interaction.

Usage

## S3 method for class 'bootgen,ANY,ANY,ANY':
[(x, i, j, ..., drop = FALSE)

## S3 method for class 'bootgen': dim(x)

## S3 method for class 'bootgen': $(x, name)

## S3 method for class 'bootgen': initialize(.Object, gen, na = "mean", freq = TRUE)

Arguments

x
a "bootgen" object
i
vector of numerics indicating number of individuals desired
j
a vector of numerics corresponding to the loci desired.
...
unused.
drop
set to FALSE
.Object
a character, "bootgen"
gen
a genind, genclone, or genpop object
na
how missing data should be treated. Default is "mean", averaging over other values in the matrix. Possible values are listed in tab.
freq
if TRUE, the matrix will be a genotype frequency matrix. If FALSE, the matrix will be allele counts.